package java44th.group.bean.wx.vo.goods.list;

import com.github.pagehelper.PageInfo;
import java44th.group.bean.po.MarketCategory;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @projectName: project-second
 * @package: java44th.group.bean.wx.vo.goods
 * @className: WxGoodsListVO
 * @author: 杨浩祥
 * @description: TODO
 * @date: 2022/10/15 10:44
 * @version: 1.0
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class WxGoodsListVO implements Serializable {


    /**
     * total : 26
     * pages : 3
     * limit : 10
     * page : 1
     * list : [{"id":1181137,"name":"管道","brief":"很不错  很欧克","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/fexbwnidqlz50d8k9rgv.jpg","isNew":true,"isHot":false,"counterPrice":123,"retailPrice":120},{"id":1181085,"name":"111","brief":"1哈哈哈哈","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/bonazccbl0maembuooml.jpg","isNew":true,"isHot":false,"counterPrice":1111,"retailPrice":99},{"id":1181051,"name":"2233抱枕","brief":"2233娘抱枕，你值得拥有","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/78fasqprem8v0740nfiy.jpg","isNew":true,"isHot":false,"counterPrice":99,"retailPrice":79},{"id":1181049,"name":"抱枕","brief":"这是一个商品简介","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/1e1io7gcjc2nuo5a1te0.png","isNew":true,"isHot":false,"counterPrice":99,"retailPrice":79},{"id":1064006,"name":"3D纯棉护颈加翼记忆枕","brief":"深色面料，安睡护颈","picUrl":"http://yanxuan.nosdn.127.net/35306b8e65932dd28a5628d0bb44a044.png","isNew":false,"isHot":false,"counterPrice":149,"retailPrice":129},{"id":1064007,"name":"3D纯棉护颈双人记忆枕","brief":"纯棉呵护，属于你我的记忆","picUrl":"http://yanxuan.nosdn.127.net/d7bd87f8cc1965b25be33a8aad53812b.png","isNew":false,"isHot":false,"counterPrice":269,"retailPrice":249},{"id":1181000,"name":"母亲节礼物-舒适安睡组合","brief":"安心舒适是最好的礼物","picUrl":"http://yanxuan.nosdn.127.net/1f67b1970ee20fd572b7202da0ff705d.png","isNew":true,"isHot":false,"counterPrice":2618,"retailPrice":2598},{"id":1075023,"name":"舒适安睡复合羽绒枕","brief":"一等白鸭绒，蓬松承托","picUrl":"http://yanxuan.nosdn.127.net/29bc800b9f1fa551bc3cd47b10e2a799.png","isNew":false,"isHot":false,"counterPrice":219,"retailPrice":199},{"id":1075024,"name":"升级款纯棉静音白鹅羽绒被","brief":"静音面料，加厚熟睡","picUrl":"http://yanxuan.nosdn.127.net/ce4a1eb18ea518bf584620632509935f.png","isNew":false,"isHot":false,"counterPrice":2419,"retailPrice":2399},{"id":1127003,"name":"AB面独立弹簧床垫 进口乳胶","brief":"双面可用，抗菌防螨","picUrl":"http://yanxuan.nosdn.127.net/6ad1813d123f7a80f84c2cfa5f8c7caf.png","isNew":false,"isHot":false,"counterPrice":2619,"retailPrice":2599}]
     * filterCategoryList : [{"id":1005002,"name":"饮食","keywords":"fff","desc":"好吃，高颜值美食 ","pid":1005001,"iconUrl":"http://yanxuan.nosdn.127.net/c9280327a3fd2374c000f6bf52dff6eb.png","picUrl":"http://yanxuan.nosdn.127.net/fb670ff3511182833e5b035275e4ac09.png","level":"L2","sortOrder":9,"addTime":"2018-02-01 00:00:00","updateTime":"2022-09-07 16:37:12","deleted":false},{"id":1005007,"name":"锅具","keywords":"","desc":"一口好锅，炖煮生活一日三餐","pid":1005001,"iconUrl":"http://yanxuan.nosdn.127.net/4aab4598017b5749e3b63309d25e9f6b.png","picUrl":"http://yanxuan.nosdn.127.net/d2db0d1d0622c621a8aa5a7c06b0fc6d.png","level":"L2","sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1008001,"name":"毛巾","keywords":"","desc":"日本皇室专供，内野制造商出品","pid":1013001,"iconUrl":"http://yanxuan.nosdn.127.net/44ad9a739380aa6b7cf956fb2a06e7a7.png","picUrl":"http://yanxuan.nosdn.127.net/c53d2dd5ba6b1cfb55bd42ea0783f051.png","level":"L2","sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1008002,"name":"布艺软装","keywords":"222","desc":"各种风格软装装点你的家","pid":1010000,"iconUrl":"http://yanxuan.nosdn.127.net/8bbcd7de60a678846664af998f57e71c.png","picUrl":"http://yanxuan.nosdn.127.net/2e2fb4f2856a021bbcd1b4c8400f2b06.png","level":"L2","sortOrder":6,"addTime":"2018-02-01 00:00:00","updateTime":"2022-10-12 21:14:31","deleted":false},{"id":1008003,"name":"鞋","keywords":"","desc":"一双好鞋，才能带你到远方","pid":1008000,"iconUrl":"http://yanxuan.nosdn.127.net/4316c2d05745bc90d1f333e363e571bd.png","picUrl":"http://yanxuan.nosdn.127.net/85566d138ea55e6aaeda2cda02df66f8.png","level":"L2","sortOrder":4,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1008004,"name":"袜子","keywords":"","desc":"新百伦、阿迪达斯等制造商出品","pid":1010000,"iconUrl":"http://yanxuan.nosdn.127.net/f123c74f54d9acff0bd1546c60034814.png","picUrl":"http://yanxuan.nosdn.127.net/13f256bac02bb27d74e035ad25cbd375.png","level":"L2","sortOrder":4,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1008005,"name":"户外","keywords":"","desc":"MUJI、Nike等制造商出品","pid":1012000,"iconUrl":"http://yanxuan.nosdn.127.net/83d22ca3d1c8f94ee23ca96de489864c.png","picUrl":"http://yanxuan.nosdn.127.net/833476fc3ecc30a7446279b787328775.png","level":"L2","sortOrder":7,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1008006,"name":"口罩","keywords":"77888","desc":"为你遮挡雾霾","pid":1036035,"iconUrl":"http://yanxuan.nosdn.127.net/9b93e661ff59cbda6094e8b30a63724e.png","picUrl":"http://yanxuan.nosdn.127.net/11d9700da759f2c962c2f6d9412ac2a1.png","level":"L2","sortOrder":6,"addTime":"2018-02-01 00:00:00","updateTime":"2022-10-13 16:06:13","deleted":false},{"id":1008007,"name":"围巾件套","keywords":"","desc":"围上它，你的造型才完整","pid":1008000,"iconUrl":"http://yanxuan.nosdn.127.net/3a8c7ae5b9dc5c1c4b7f2b656abb0279.png","picUrl":"http://yanxuan.nosdn.127.net/6beb3fd67106e42dc0f026b173373d16.png","level":"L2","sortOrder":7,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1008008,"name":"被枕","keywords":"","desc":"守护你的睡眠时光","pid":1005000,"iconUrl":"http://yanxuan.nosdn.127.net/927bc33f7ae2895dd6c11cf91f5e3228.png","picUrl":"http://yanxuan.nosdn.127.net/b43ef7cececebe6292d2f7f590522e05.png","level":"L2","sortOrder":2,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1008009,"name":"床品件套","keywords":"","desc":"MUJI等品牌制造商出品","pid":1005000,"iconUrl":"http://yanxuan.nosdn.127.net/243e5bf327a87217ad1f54592f0176ec.png","picUrl":"http://yanxuan.nosdn.127.net/81f671bd36bce05d5f57827e5c88dd1b.png","level":"L2","sortOrder":4,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1008015,"name":"糕点","keywords":"","desc":"四季糕点，用心烘焙","pid":1005002,"iconUrl":"http://yanxuan.nosdn.127.net/93168242df456b5f7bf3c89653b3db76.png","picUrl":"http://yanxuan.nosdn.127.net/66ea1d6ad602a8e441af7cada93bdc7a.png","level":"L2","sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1008016,"name":"灯具","keywords":"","desc":"一盏灯，温暖一个家","pid":1005000,"iconUrl":"http://yanxuan.nosdn.127.net/c48e0d9dcfac01499a437774a915842b.png","picUrl":"http://yanxuan.nosdn.127.net/f702dc399d14d4e1509d5ed6e57acd19.png","level":"L2","sortOrder":8,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1008018,"name":"单肩包","keywords":"","desc":"单肩装上惬意心情","pid":1008000,"iconUrl":"http://yanxuan.nosdn.127.net/2f71c7710f0bf857e787e1adb449c8a2.png","picUrl":"http://yanxuan.nosdn.127.net/55f34f23ed31f31e1313ff33602f90cc.png","level":"L2","sortOrder":3,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1010002,"name":"内裤","keywords":"","desc":"来自李维斯、爱慕等制造商","pid":1010000,"iconUrl":"http://yanxuan.nosdn.127.net/364269344ed69adafe1b70ab7998fc50.png","picUrl":"http://yanxuan.nosdn.127.net/0a7fe0a08c195ca2cf55d12cd3c30f09.png","level":"L2","sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1011002,"name":"海外","keywords":"妇女然后","desc":"来自海外制造商的好物","pid":1008017,"iconUrl":"http://yanxuan.nosdn.127.net/da884ff3b9e9d5276986c99e85722461.png","picUrl":"http://yanxuan.nosdn.127.net/fd1de05d274222f1e56d057d2f2c20c6.png","level":"L2","sortOrder":5,"addTime":"2018-02-01 00:00:00","updateTime":"2022-10-13 17:05:34","deleted":false},{"id":1011004,"name":"家饰","keywords":"","desc":"装饰你的家","pid":1005000,"iconUrl":"http://yanxuan.nosdn.127.net/ab0df9445d985bf6719ac415313a8e88.png","picUrl":"http://yanxuan.nosdn.127.net/79275db76b5865e6167b0fbd141f2d7e.png","level":"L2","sortOrder":9,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1012001,"name":"功能箱包","keywords":"","desc":"范思哲、Coach等品牌制造商出品","pid":1008000,"iconUrl":"http://yanxuan.nosdn.127.net/3050a2b3052d766c4b460d4b766353a3.png","picUrl":"http://yanxuan.nosdn.127.net/0645dcda6172118f9295630c2a6f234f.png","level":"L2","sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1012002,"name":"雨具","keywords":"666","desc":"WPC制作商出品","pid":1012002,"iconUrl":"http://yanxuan.nosdn.127.net/4e929a21baebdb1200361d8097e35e45.png","picUrl":"http://yanxuan.nosdn.127.net/589da0f02917b8393197a43175764381.png","level":"L2","sortOrder":4,"addTime":"2018-02-01 00:00:00","updateTime":"2022-10-13 22:48:26","deleted":false},{"id":1012003,"name":"文具","keywords":"","desc":"找回书写的力量","pid":1012000,"iconUrl":"http://yanxuan.nosdn.127.net/e1743239e41ca9af76875aedc73be7f0.png","picUrl":"http://yanxuan.nosdn.127.net/e074795f61a83292d0f20eb7d124e2ac.png","level":"L2","sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1013006,"name":"家居服","keywords":"","desc":"舒适亲肤","pid":1010000,"iconUrl":"http://yanxuan.nosdn.127.net/71f391af17fce739a6a57a1eeadbcbf0.png","picUrl":"http://yanxuan.nosdn.127.net/5da102ea4c64081ce3a05a91c855fbc9.png","level":"L2","sortOrder":6,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1015000,"name":"家具","keywords":"","desc":"大师级工艺","pid":1005000,"iconUrl":"http://yanxuan.nosdn.127.net/4f00675caefd0d4177892ad18bfc2df6.png","picUrl":"http://yanxuan.nosdn.127.net/d5d41841136182bf49c1f99f5c452dd6.png","level":"L2","sortOrder":7,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1017000,"name":"宠物","keywords":"","desc":"抑菌除味，打造宠物舒适空间","pid":1005000,"iconUrl":"http://yanxuan.nosdn.127.net/a0352c57c60ce4f68370ecdab6a30857.png","picUrl":"http://yanxuan.nosdn.127.net/dae4d6e89ab8a0cd3e8da026e4660137.png","level":"L2","sortOrder":10,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1018000,"name":"夏日甜心","keywords":"","desc":"湖南卫视《夏日甜心》周边","pid":1019000,"iconUrl":"http://yanxuan.nosdn.127.net/b5e9f174404ef81b8603d6ecc304c62e.png","picUrl":"http://yanxuan.nosdn.127.net/2b8497fe583d3c9759128b2d76f89dfd.png","level":"L2","sortOrder":10,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1020000,"name":"出行用品","keywords":"","desc":"出行小物，贴心相伴","pid":1012000,"iconUrl":"http://yanxuan.nosdn.127.net/b29a11afa76b9f4a57131555f1a54c77.png","picUrl":"http://yanxuan.nosdn.127.net/81e18c6970a7809ee0d86f0545428aa4.png","level":"L2","sortOrder":3,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1020003,"name":"服饰","keywords":"","desc":"萌宝穿搭，柔软舒适触感","pid":1011000,"iconUrl":"http://yanxuan.nosdn.127.net/4e50f3c4e4d0a64cd0ad14cfc0b6bd17.png","picUrl":"http://yanxuan.nosdn.127.net/004f5f96df4aeb0645abbd70c0637239.png","level":"L2","sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1020004,"name":"婴童洗护","keywords":"","desc":"天然，呵护宝宝肌肤","pid":1011000,"iconUrl":"http://yanxuan.nosdn.127.net/c55338691ebd46bee9ebf225f80363ce.png","picUrl":"http://yanxuan.nosdn.127.net/f2e301b189befff1d99adf917ba8ce20.png","level":"L2","sortOrder":5,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1020005,"name":"寝居","keywords":"","desc":"无荧光剂，婴幼儿A类标准","pid":1011000,"iconUrl":"http://yanxuan.nosdn.127.net/0f3c5ad63139096fd0760219e12149af.png","picUrl":"http://yanxuan.nosdn.127.net/476995896abea91d3f2e9ec20d56bd8d.png","level":"L2","sortOrder":3,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1020008,"name":"配饰","keywords":"","desc":"与众不同的点睛之笔","pid":1008000,"iconUrl":"http://yanxuan.nosdn.127.net/d835a76e56a88905194f543b67089b4b.png","picUrl":"http://yanxuan.nosdn.127.net/57ce29ca06f592d65aabfa5f0f87ad43.png","level":"L2","sortOrder":8,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1020009,"name":"外衣","keywords":"","desc":"穿出时尚感","pid":1010000,"iconUrl":"http://yanxuan.nosdn.127.net/883d89e54a9287569a201eca388a7cda.png","picUrl":"http://yanxuan.nosdn.127.net/647f7c39eb7c353958274a59fd821d03.png","level":"L2","sortOrder":10,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1020010,"name":"衬衫","keywords":"","desc":"细节讲究，合身剪裁","pid":1010000,"iconUrl":"http://yanxuan.nosdn.127.net/94aa4a4814e2a7a97639438f1d52dcee.png","picUrl":"http://yanxuan.nosdn.127.net/7927f8422c341f7353041a30d01045a2.png","level":"L2","sortOrder":7,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1032000,"name":"魔兽世界","keywords":"","desc":"艾泽拉斯的冒险，才刚刚开始","pid":1019000,"iconUrl":"http://yanxuan.nosdn.127.net/336f0186a9920eb0f93a3912f3662ffe.png","picUrl":"http://yanxuan.nosdn.127.net/becfba90e8a5c95d403b8a6b9bb77825.png","level":"L2","sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1036000,"name":"夏凉","keywords":"","desc":"夏凉床品，舒适一夏","pid":1005000,"iconUrl":"http://yanxuan.nosdn.127.net/13ff4decdf38fe1a5bde34f0e0cc635a.png","picUrl":"http://yanxuan.nosdn.127.net/bd17c985bacb9b9ab1ab6e9d66ee343c.png","level":"L2","sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":1036021,"name":"跑车","keywords":"loser必备","desc":"拥有一夏天的风","pid":1036059,"iconUrl":"http://182.92.235.201:8083/wx/storage/fetch/tofxe7iiebhru5vty4pj.jpg","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/hhyw2k599w4w9m7misv9.jpg","level":"L2","sortOrder":50,"addTime":"2022-09-07 12:55:20","updateTime":"2022-09-08 21:12:41","deleted":false},{"id":1036022,"name":"飞机","keywords":"最安全的交通工具","desc":"私人飞机，件件两元","pid":1036059,"iconUrl":"http://182.92.235.201:8083/wx/storage/fetch/sua6mryoc6th2ooju8s4.jpg","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/cd60au91ty0gaqagn9qd.jpg","level":"L2","sortOrder":50,"addTime":"2022-09-07 12:57:47","updateTime":"2022-09-08 21:29:56","deleted":false},{"id":1036049,"name":"时蔬","keywords":"ss","desc":"","pid":1036046,"iconUrl":"","picUrl":"","level":"L2","sortOrder":50,"addTime":"2022-09-07 22:14:29","updateTime":"2022-09-11 13:12:19","deleted":false},{"id":1036064,"name":"中秋看看华为手机","keywords":"","desc":"二级类目华为手机test","pid":1036063,"iconUrl":"","picUrl":"","level":"L2","sortOrder":50,"addTime":"2022-09-10 00:10:24","updateTime":"2022-09-10 00:10:24","deleted":false},{"id":1036065,"name":"中秋快乐看看女神","keywords":"美","desc":"女神","pid":1036063,"iconUrl":"","picUrl":"","level":"L2","sortOrder":50,"addTime":"2022-09-11 00:12:32","updateTime":"2022-09-12 09:54:21","deleted":false},{"id":1036066,"name":"中秋快乐看看月亮","keywords":"月","desc":"类目简介-月","pid":1036063,"iconUrl":"","picUrl":"","level":"L2","sortOrder":50,"addTime":"2022-09-12 09:55:07","updateTime":"2022-09-12 09:55:07","deleted":false},{"id":1036185,"name":"亲吻大地色","keywords":"驱蚊器恶气恶气","desc":"","pid":1036177,"iconUrl":"","picUrl":"","level":"L2","sortOrder":50,"addTime":"2022-10-14 15:47:48","updateTime":"2022-10-14 15:47:48","deleted":false},{"id":1036186,"name":"哈哈","keywords":"麻瓜","desc":"","pid":1036152,"iconUrl":"","picUrl":"","level":"L2","sortOrder":50,"addTime":"2022-10-14 15:52:07","updateTime":"2022-10-14 15:52:07","deleted":false}]
     */

    private Integer total;
    private Integer pages;
    private Integer limit;
    private Integer page;
    private List<ListVO> list;
    private List<MarketCategory> filterCategoryList;

    public static  WxGoodsListVO data(PageInfo pageInfo,List<MarketCategory> filterCategoryList) {
        int pages = pageInfo.getPages();
        int pageNum = pageInfo.getPageNum();
        int pageSize = pageInfo.getPageSize();
        int total = (int) pageInfo.getTotal();
        List list = pageInfo.getList();
        // return new WxGoodsListVO(total, pages, pageSize, pageNum, list);
        return new WxGoodsListVO(total,pages,pageSize,pageNum,list,filterCategoryList);
    }
}
